package com.woniuxy.service;

import com.woniuxy.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 商家的登录服务
 */
@FeignClient("run-shop")
public interface ShopUserService {
    @PostMapping("shop/shopinfo/login")
    ResponseResult<Integer> shopLogin(@RequestParam("account") String account, @RequestParam("password")String pwd);
}
